﻿using System;
using System.Runtime.Serialization;

namespace Phatent.Model.Pages
{
    public class MessageModel:MBase
    {
        [DataMember]
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        public int ID { get; set; }
        [DataMember]
        [Model]
        public string RealName { get; set; }
        [DataMember]
        [Model]
        public string Mobile { get; set; }
        [DataMember]
        [Model]
        public string Email { get; set; }
        [DataMember]
        [Model]
        public string Description { get; set; }
        [DataMember]
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        public System.DateTime CreatedOn { get; set; }
    }

    public class MessageCollection : ModelCollectionBase<MessageModel> { }
}
